// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
// 引入elementUi
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
// 引入mock
import MockUser from './js/user.js'
// 引入axios
import axios from "axios";
// 配置公共请求路径
// axios.defaults.baseURL = "https://www.fastmock.site/mock/eee13948730b4a365107e308fa015ffc/pethome"
// vue的扩展性
Vue.prototype.$http = axios
Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
